package com.zch.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.zch.dao.model.Category;
import com.zch.dao.model.CategoryExample;

public interface CategoryMapper {
	int countByExample(CategoryExample example);

	int deleteByExample(CategoryExample example);

	int deleteByPrimaryKey(String id);

	int insert(Category record);

	int insertSelective(Category record);

	List<Category> selectByExample(CategoryExample example);

	Category selectByPrimaryKey(String id);

	int updateByExampleSelective(@Param("record") Category record,@Param("example") CategoryExample example);

	int updateByExample(@Param("record") Category record,@Param("example") CategoryExample example);

	int updateByPrimaryKeySelective(Category record);

	int updateByPrimaryKey(Category record);

}
